<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>showuser</title>
		<meta name="author" content="fengchao" />
		<script>
			$(function(){
				var mobikey = $("#mobikey").val();
				var sessionid=$("#sessionid").val();
				var mydata = "mobikey="+mobikey+"&sessionid="+sessionid+"&acction=userinfo";
				//[{"ID":"65","user_email":"fengchao@fengchao.com","user_login":"fengchao","user_nicename":"fengchao","user_city":"","user_img":"","user_intr":"","user_url":""}]
				$.ajax({
					type:'POST',
					url:'<?php echo base_url(); ?>sx_useredit/',
					data:mydata,
					dataType:'json',
					success:function(i){
						$("#xguname").val(i[0].user_login);
						$("#userEmail").val(i[0].user_email);
						$("#userCity").val(i[0].user_city);
						$("#userImg").val(i[0].user_img);
						$("#userNicename").val(i[0].user_nicename);
						$("#userUrl").val(i[0].user_url);
						$("#userIntr").val(i[0].user_intr);
			}
			})
			});
		</script>
		<style>
			#sh_1 li{ list-style-type: none; }
			#sh_1 ul {margin: 0; padding: 0;}
			#xg_b {width:80px;height: 20px; font-size: 12px;}
			.sh_li{ display:block; width:300px; margin-left: 5px; margin-top: 5px; height: 25px; border: solid 1px #999;float: left;}
			.sh_1_1{ display:block; width: 80px; height: 24px; text-align: right; float: left;}
			.sh_1_2{ display:block; width: 215px; height: 24px; text-align: right; float: left;}
			.sh_1_2  input{width: 200px; height: 15px; border: solid 1px #999; margin-top: 2px;}
		</style>		
	</head>
	<body>
		<div>
			<div id="sh_1">
				<ul>
					<li class="sh_li"><span class="sh_1_1">姓名:</span><span class="sh_1_2"><input type="text" readonly="readonly"  id="xguname" /></span></li>
					<li class="sh_li"><span class="sh_1_1">邮件地址:</span><span class="sh_1_2"><input type="text" id="userEmail"/></span></li>
					<li class="sh_li"><span class="sh_1_1">城市:</span><span class="sh_1_2"><input type="text" id="userCity" /></span></li>
					<li class="sh_li"><span class="sh_1_1">头像:</span><span class="sh_1_2"><input type="text" id="userImg" /></span></li>
					<li class="sh_li"><span class="sh_1_1">昵称:</span><span class="sh_1_2"><input type="text"  id="userNicename" /></span></li>
					<li class="sh_li"><span class="sh_1_1">网址:</span><span class="sh_1_2"><input type="text" id="userUrl" /></span></li>
					<li class="sh_li"><span class="sh_1_1">介绍:</span><span class="sh_1_2"><input type="text" id="userIntr" /></span></li>
					<li class="sh_li"><span class="sh_1_1">操作:</span><span class="sh_1_2"><input type="button"  value="修改信息" id="xg_b"/></span></li>
				</ul>
			</div>
			
		</div>
	</body>
</html>
